package com.hogae.capital.mapper;

import java.util.List;
import com.hogae.capital.domain.CapWithdrawalRecord;

/**
 * 提现记录Mapper接口
 * 
 * @author hogae
 * @date 2021-02-26
 */
public interface CapWithdrawalRecordMapper 
{
    /**
     * 查询提现记录
     * 
     * @param id 提现记录ID
     * @return 提现记录
     */
    CapWithdrawalRecord selectCapWithdrawalRecordById(Long id);

    /**
     * 查询提现记录列表
     * 
     * @param capWithdrawalRecord 提现记录
     * @return 提现记录集合
     */
    List<CapWithdrawalRecord> selectCapWithdrawalRecordList(CapWithdrawalRecord capWithdrawalRecord);

    /**
     * 新增提现记录
     * 
     * @param capWithdrawalRecord 提现记录
     * @return 结果
     */
    int insertCapWithdrawalRecord(CapWithdrawalRecord capWithdrawalRecord);

    /**
     * 修改提现记录
     * 
     * @param capWithdrawalRecord 提现记录
     * @return 结果
     */
    int updateCapWithdrawalRecord(CapWithdrawalRecord capWithdrawalRecord);

    /**
     * 删除提现记录
     * 
     * @param id 提现记录ID
     * @return 结果
     */
    int deleteCapWithdrawalRecordById(Long id);

    /**
     * 批量删除提现记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteCapWithdrawalRecordByIds(Long[] ids);
}
